<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body class="timo-layout-page">
    <div class="layui-card">
        <div class="layui-card-header timo-card-header">
            <span><i class="fa fa-bars"></i> 新增问题基本信息表管理</span>
            <i class="layui-icon layui-icon-refresh refresh-btn"></i>
        </div>
        <div class="layui-card-body">
            <div class="layui-row timo-card-screen">
                <div class="pull-left layui-form-pane timo-search-box">
                    <!--<div class="layui-inline">-->
                        <!--<label class="layui-form-label">状态</label>-->
                        <!--<div class="layui-input-block timo-search-status">-->
                            <!--<select class="timo-search-select" name="status" mo:dict="SEARCH_STATUS" mo-selected="${param.status}"></select>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="layui-inline">
                        <label class="layui-form-label">是否整改</label>
                        <div class="layui-input-block" style="width: 150px">
                            <select class="layui-input timo-search-select" id="J_selectIsSfzgdw" type="text"  name="sfzgdw" placeholder="请是否整改到位" th:value="${param.sfzgdw}">
                                <option value="" >请选择</option>
                                <option value="是">是</option>
                                <option value="否">否</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">设区市</label>
                        <div class="layui-input-block">
                            <input type="text" name="sqs" th:value="${param.sqs}" placeholder="请输入设区市" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">县市区</label>
                        <div class="layui-input-block">
                            <input type="text" name="xsq" th:value="${param.xsq}" placeholder="请输入县市区" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">是否本月更新</label>
                        <div class="layui-input-block" style="width: 150px">
                            <select class="layui-input timo-search-select" id="J_selectIsFlag" type="text"  name="flag" placeholder="是否本月更新" th:value="${param.flag}">
                                <option value="" >请选择</option>
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn timo-search-btn">
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
                <div class="pull-right screen-btn-group">
                    <button class="layui-btn open-popup" data-title="添加新增问题基本信息表" th:attr="data-url=@{/lzgd/baseInfo/add}" data-size="auto">
                        <i class="fa fa-plus"></i> 添加</button>
                    <button class="layui-btn open-popup" data-title="导入" th:attr="data-url=@{/lzgd/baseInfo/import}" data-size="400,400">
                        <i class="fa fa-handshake-o"></i>导入</button>
                    <div class="btn-group">
                        <button class="layui-btn">操作<span class="caret"></span></button>
                        <dl class="layui-nav-child layui-anim layui-anim-upbit">
                            <dd><a class="ajax-status" th:href="@{/lzgd/baseInfo/status/ok}">启用</a></dd>
                            <dd><a class="ajax-status" th:href="@{/lzgd/baseInfo/status/freezed}">冻结</a></dd>
                            <dd><a class="ajax-status" th:href="@{/lzgd/baseInfo/status/delete}">删除</a></dd>
                        </dl>
                    </div>
                </div>
            </div>
            <div class="timo-table-wrap">
                <table class="layui-table timo-table">
                    <thead>
                    <tr>
                        <th class="timo-table-checkbox">
                            <label class="timo-checkbox"><input type="checkbox">
                                <i class="layui-icon layui-icon-ok"></i></label>
                        </th>
                        <th>操作</th>
                        <th>是否整改到位</th>
                        <!--<th>主键ID</th>-->
                        <th>设区市</th>
                        <th>县市区</th>
                        <th>乡镇</th>
                        <th>村</th>
                        <th>问题来源</th>
                        <th>监测编号</th>
                        <th>下发批次</th>
                        <th>面积</th>
                        <th>耕地面积</th>
                        <th>永久基本农田</th>
                        <th>问题类型</th>
                        <th>违法项目</th>
                        <th>违法主体</th>
                        <th>建设内容</th>
                        <th>建设时间</th>
                        <th>违建年份</th>
                        <th>整改措施</th>
                        <th>完成整改时间</th>
                        <th>整改情况备注</th>
                        <th>是否处置到位</th>
                        <th>处置措施</th>
                        <th>处置时间</th>
                        <th>拟采取的整改措施</th>
                        <th>拟完成时间</th>
                        <th>未完成整改备注</th>
                        <th>是否纳入点题整治</th>
                        <th>是否纳入省级主题教育</th>
                        <th>确认新增年份</th>
                        <th>确认新增月份</th>
                        <th>创建时间</th>
                        <th>更新时间</th>
                        <th>数据状态</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr th:each="item:${list}">
                        <td><label class="timo-checkbox"><input type="checkbox" th:value="${item.id}">
                            <i class="layui-icon layui-icon-ok"></i></label></td>
                        <td>
                            <a class="open-popup" data-title="编辑新增问题基本信息表" th:attr="data-url=@{'/lzgd/baseInfo/edit/'+${item.id}}" data-size="auto" href="#">编辑</a>
                            <a class="open-popup" data-title="详细信息" th:attr="data-url=@{'/lzgd/baseInfo/detail/'+${item.id}}" data-size="800,600" href="#">详细</a>
                            <a class="ajax-get" data-msg="您是否确认删除" th:href="@{/lzgd/baseInfo/status/delete(ids=${item.id})}">删除</a>
                        </td>
                        <td th:text="${item.sfzgdw}" style="text-align: center">是否整改到位</td>
                        <td th:text="${item.sqs}">设区市</td>
                        <td th:text="${item.xsq}">县市区</td>
                        <td th:text="${item.xiangzhen}">乡镇</td>
                        <td th:text="${item.cun}">村</td>
                        <td th:text="${item.wtly}">问题来源</td>
                        <td th:text="${item.jcbh}">监测编号</td>
                        <td th:text="${item.xfpc}">下发批次</td>
                        <td th:text="${item.mj}">面积</td>
                        <td th:text="${item.gdmj}">耕地面积</td>
                        <td th:text="${item.jbnt}">永久基本农田</td>
                        <td th:text="${item.wtlx}">问题类型</td>
                        <td th:text="${item.wfxm}">违法项目</td>
                        <td th:text="${item.wfzt}">违法主体</td>
                        <td th:text="${item.jsnr}">建设内容</td>
                        <td th:text="${item.jssj}">建设时间</td>
                        <td th:text="${item.wjnf}">违建年份</td>
                        <td th:text="${item.zgcs}">整改措施</td>
                        <td th:text="${item.wczgsj}">完成整改时间</td>
                        <td th:text="${item.zgqkbz}">整改情况备注</td>
                        <td th:text="${item.sfczdw}">是否处置到位</td>
                        <td th:text="${item.czcs}">处置措施</td>
                        <td th:text="${item.czsj}">处置时间</td>
                        <td th:text="${item.xybcs}">拟采取的整改措施</td>
                        <td th:text="${item.yjwcsj}">拟完成时间</td>
                        <td th:text="${item.wzgbz}">未完成整改备注</td>
                        <td th:text="${item.sfnrdtzz}">是否纳入点题整治</td>
                        <td th:text="${item.sfnrsjztjy}">是否纳入省级主题教育</td>
                        <td th:text="${item.qrxzYear}">确认新增年份</td>
                        <td th:text="${item.qrxzMonth}">确认新增月份</td>
                        <td th:text="${#dates.format(item.createDate, 'yyyy-MM-dd HH:mm:ss')}">创建时间</td>
                        <td th:text="${#dates.format(item.updateDate, 'yyyy-MM-dd HH:mm:ss')}">更新时间</td>
                        <td th:text="${#dicts.dataStatus(item.status)}">数据状态</td>

                    </tr>
                    </tbody>
                </table>
            </div>
            <div th:replace="/common/fragment :: page"></div>
        </div>
    </div>
<script th:replace="/common/template :: script"></script>
    <script th:src="@{/js/plugins/jquery-3.3.1.min.js}"></script>
    <script th:src="@{/js/lzgd/baseInfo.js}"></script>
</body>
</html>